<?php 
/** create by fu */
namespace app\api\validate;
use app\api\validate\BaseValidate;
/**
 * 
 */
class TokenGet extends BaseValidate
{
	
	 protected $rule = [
	 	'code'  =>  'require|isNotEmpty', //isNotEmpty自定义的验证方法
	 ];

	 protected $message = [
	 	'code'  =>   'code不能为空de',
	 ];
}



 ?>